<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8"/>
  <title>IconFont Demo</title>
  <link rel="shortcut icon" href="https://gtms04.alicdn.com/tps/i4/TB1_oz6GVXXXXaFXpXXJDFnIXXX-64-64.ico" type="image/x-icon"/>
  <link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
  <link rel="stylesheet" href="demo.css">
  <link rel="stylesheet" href="iconfont.css">
  <script src="iconfont.js"></script>
  <!-- jQuery -->
  <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/7bfddb60-08e8-11e9-9b04-53e73bb6408b.js"></script>
  <!-- 代码高亮 -->
  <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/a3f714d0-08e6-11e9-8a15-ebf944d7534c.js"></script>
</head>
<body>
  <div class="main">
    <h1 class="logo"><a href="https://www.iconfont.cn/" title="iconfont 首页" target="_blank">&#xe86b;</a></h1>
    <div class="nav-tabs">
      <ul id="tabs" class="dib-box">
        <li class="dib active"><span>Unicode</span></li>
        <li class="dib"><span>Font class</span></li>
        <li class="dib"><span>Symbol</span></li>
      </ul>
      
      <a href="https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=1177906" target="_blank" class="nav-more">查看项目</a>
      
    </div>
    <div class="tab-container">
      <div class="content unicode" style="display: block;">
          <ul class="icon_lists dib-box">
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe607;</span>
                <div class="name">卡券</div>
                <div class="code-name">&amp;#xe607;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe88f;</span>
                <div class="name">表情</div>
                <div class="code-name">&amp;#xe88f;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe63b;</span>
                <div class="name">邮件</div>
                <div class="code-name">&amp;#xe63b;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe75b;</span>
                <div class="name">文件</div>
                <div class="code-name">&amp;#xe75b;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe75e;</span>
                <div class="name">免打扰</div>
                <div class="code-name">&amp;#xe75e;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe64f;</span>
                <div class="name">win</div>
                <div class="code-name">&amp;#xe64f;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe66e;</span>
                <div class="name">消息</div>
                <div class="code-name">&amp;#xe66e;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe604;</span>
                <div class="name">指纹</div>
                <div class="code-name">&amp;#xe604;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe673;</span>
                <div class="name">电脑</div>
                <div class="code-name">&amp;#xe673;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe600;</span>
                <div class="name">指南指导</div>
                <div class="code-name">&amp;#xe600;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe6cf;</span>
                <div class="name">相机</div>
                <div class="code-name">&amp;#xe6cf;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe622;</span>
                <div class="name">消息</div>
                <div class="code-name">&amp;#xe622;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe60e;</span>
                <div class="name">菜单</div>
                <div class="code-name">&amp;#xe60e;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe63e;</span>
                <div class="name">搜索</div>
                <div class="code-name">&amp;#xe63e;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe620;</span>
                <div class="name">消息 点</div>
                <div class="code-name">&amp;#xe620;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe648;</span>
                <div class="name">通讯录</div>
                <div class="code-name">&amp;#xe648;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe860;</span>
                <div class="name">语音</div>
                <div class="code-name">&amp;#xe860;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe608;</span>
                <div class="name">红包</div>
                <div class="code-name">&amp;#xe608;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe670;</span>
                <div class="name">我</div>
                <div class="code-name">&amp;#xe670;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe624;</span>
                <div class="name">添加朋友</div>
                <div class="code-name">&amp;#xe624;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe601;</span>
                <div class="name">我</div>
                <div class="code-name">&amp;#xe601;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe613;</span>
                <div class="name">指南</div>
                <div class="code-name">&amp;#xe613;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe605;</span>
                <div class="name">心</div>
                <div class="code-name">&amp;#xe605;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe606;</span>
                <div class="name">语音</div>
                <div class="code-name">&amp;#xe606;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe60b;</span>
                <div class="name">右</div>
                <div class="code-name">&amp;#xe60b;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe690;</span>
                <div class="name">朋友圈</div>
                <div class="code-name">&amp;#xe690;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe6d3;</span>
                <div class="name">加</div>
                <div class="code-name">&amp;#xe6d3;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe8c2;</span>
                <div class="name">名片</div>
                <div class="code-name">&amp;#xe8c2;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe6f3;</span>
                <div class="name">相机</div>
                <div class="code-name">&amp;#xe6f3;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe658;</span>
                <div class="name">语音输入</div>
                <div class="code-name">&amp;#xe658;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe646;</span>
                <div class="name">二维码</div>
                <div class="code-name">&amp;#xe646;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe602;</span>
                <div class="name">收付款</div>
                <div class="code-name">&amp;#xe602;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe666;</span>
                <div class="name">立方体2</div>
                <div class="code-name">&amp;#xe666;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe609;</span>
                <div class="name">位置</div>
                <div class="code-name">&amp;#xe609;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe634;</span>
                <div class="name">扫一扫</div>
                <div class="code-name">&amp;#xe634;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe60a;</span>
                <div class="name">语音通话</div>
                <div class="code-name">&amp;#xe60a;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe667;</span>
                <div class="name">相册</div>
                <div class="code-name">&amp;#xe667;</div>
              </li>
          
            <li class="dib">
              <span class="icon wxIconFont">&#xe603;</span>
                <div class="name">通讯录</div>
                <div class="code-name">&amp;#xe603;</div>
              </li>
          
          </ul>
          <div class="article markdown">
          <h2 id="unicode-">Unicode 引用</h2>
          <hr>

          <p>Unicode 是字体在网页端最原始的应用方式，特点是：</p>
          <ul>
            <li>兼容性最好，支持 IE6+，及所有现代浏览器。</li>
            <li>支持按字体的方式去动态调整图标大小，颜色等等。</li>
            <li>但是因为是字体，所以不支持多色。只能使用平台里单色的图标，就算项目里有多色图标也会自动去色。</li>
          </ul>
          <blockquote>
            <p>注意：新版 iconfont 支持多色图标，这些多色图标在 Unicode 模式下将不能使用，如果有需求建议使用symbol 的引用方式</p>
          </blockquote>
          <p>Unicode 使用步骤如下：</p>
          <h3 id="-font-face">第一步：拷贝项目下面生成的 <code>@font-face</code></h3>
<pre><code class="language-css"
>@font-face {
  font-family: 'wxIconFont';
  src: url('iconfont.eot');
  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
      url('iconfont.woff2') format('woff2'),
      url('iconfont.woff') format('woff'),
      url('iconfont.ttf') format('truetype'),
      url('iconfont.svg#wxIconFont') format('svg');
}
</code></pre>
          <h3 id="-iconfont-">第二步：定义使用 iconfont 的样式</h3>
<pre><code class="language-css"
>.wxIconFont {
  font-family: "wxIconFont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</code></pre>
          <h3 id="-">第三步：挑选相应图标并获取字体编码，应用于页面</h3>
<pre>
<code class="language-html"
>&lt;span class="wxIconFont"&gt;&amp;#x33;&lt;/span&gt;
</code></pre>
          <blockquote>
            <p>"wxIconFont" 是你项目下的 font-family。可以通过编辑项目查看，默认是 "iconfont"。</p>
          </blockquote>
          </div>
      </div>
      <div class="content font-class">
        <ul class="icon_lists dib-box">
          
          <li class="dib">
            <span class="icon wxIconFont iconqiaquan"></span>
            <div class="name">
              卡券
            </div>
            <div class="code-name">.iconqiaquan
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconbiaoqing"></span>
            <div class="name">
              表情
            </div>
            <div class="code-name">.iconbiaoqing
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconweibiaoti554"></span>
            <div class="name">
              邮件
            </div>
            <div class="code-name">.iconweibiaoti554
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconwenjian"></span>
            <div class="name">
              文件
            </div>
            <div class="code-name">.iconwenjian
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconmiandarao"></span>
            <div class="name">
              免打扰
            </div>
            <div class="code-name">.iconmiandarao
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconwin"></span>
            <div class="name">
              win
            </div>
            <div class="code-name">.iconwin
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconxiaoxi1"></span>
            <div class="name">
              消息
            </div>
            <div class="code-name">.iconxiaoxi1
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconzhiwen"></span>
            <div class="name">
              指纹
            </div>
            <div class="code-name">.iconzhiwen
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconcomputer_icon"></span>
            <div class="name">
              电脑
            </div>
            <div class="code-name">.iconcomputer_icon
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconguide-fill"></span>
            <div class="name">
              指南指导
            </div>
            <div class="code-name">.iconguide-fill
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconxiangji1"></span>
            <div class="name">
              相机
            </div>
            <div class="code-name">.iconxiangji1
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconxiaoxi"></span>
            <div class="name">
              消息
            </div>
            <div class="code-name">.iconxiaoxi
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconcaidan"></span>
            <div class="name">
              菜单
            </div>
            <div class="code-name">.iconcaidan
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconsearch"></span>
            <div class="name">
              搜索
            </div>
            <div class="code-name">.iconsearch
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconxiaoxidian"></span>
            <div class="name">
              消息 点
            </div>
            <div class="code-name">.iconxiaoxidian
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont icontongxunlu"></span>
            <div class="name">
              通讯录
            </div>
            <div class="code-name">.icontongxunlu
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconyuyin"></span>
            <div class="name">
              语音
            </div>
            <div class="code-name">.iconyuyin
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconhongbao"></span>
            <div class="name">
              红包
            </div>
            <div class="code-name">.iconhongbao
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconwo"></span>
            <div class="name">
              我
            </div>
            <div class="code-name">.iconwo
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont icontianjiapengyou"></span>
            <div class="name">
              添加朋友
            </div>
            <div class="code-name">.icontianjiapengyou
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconwo1"></span>
            <div class="name">
              我
            </div>
            <div class="code-name">.iconwo1
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconzhinan"></span>
            <div class="name">
              指南
            </div>
            <div class="code-name">.iconzhinan
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconxin"></span>
            <div class="name">
              心
            </div>
            <div class="code-name">.iconxin
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconyuyin1"></span>
            <div class="name">
              语音
            </div>
            <div class="code-name">.iconyuyin1
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconnext-copy"></span>
            <div class="name">
              右
            </div>
            <div class="code-name">.iconnext-copy
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconpengyouquan"></span>
            <div class="name">
              朋友圈
            </div>
            <div class="code-name">.iconpengyouquan
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconjia"></span>
            <div class="name">
              加
            </div>
            <div class="code-name">.iconjia
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconmingpian"></span>
            <div class="name">
              名片
            </div>
            <div class="code-name">.iconmingpian
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconxiangji"></span>
            <div class="name">
              相机
            </div>
            <div class="code-name">.iconxiangji
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconyuyinshuru"></span>
            <div class="name">
              语音输入
            </div>
            <div class="code-name">.iconyuyinshuru
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconico"></span>
            <div class="name">
              二维码
            </div>
            <div class="code-name">.iconico
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconshoufukuan"></span>
            <div class="name">
              收付款
            </div>
            <div class="code-name">.iconshoufukuan
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconlifangti"></span>
            <div class="name">
              立方体2
            </div>
            <div class="code-name">.iconlifangti
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconweizhi"></span>
            <div class="name">
              位置
            </div>
            <div class="code-name">.iconweizhi
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconicon-scan"></span>
            <div class="name">
              扫一扫
            </div>
            <div class="code-name">.iconicon-scan
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconyuyintonghua"></span>
            <div class="name">
              语音通话
            </div>
            <div class="code-name">.iconyuyintonghua
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont iconxiangce"></span>
            <div class="name">
              相册
            </div>
            <div class="code-name">.iconxiangce
            </div>
          </li>
          
          <li class="dib">
            <span class="icon wxIconFont icontongxunlu1"></span>
            <div class="name">
              通讯录
            </div>
            <div class="code-name">.icontongxunlu1
            </div>
          </li>
          
        </ul>
        <div class="article markdown">
        <h2 id="font-class-">font-class 引用</h2>
        <hr>

        <p>font-class 是 Unicode 使用方式的一种变种，主要是解决 Unicode 书写不直观，语意不明确的问题。</p>
        <p>与 Unicode 使用方式相比，具有如下特点：</p>
        <ul>
          <li>兼容性良好，支持 IE8+，及所有现代浏览器。</li>
          <li>相比于 Unicode 语意明确，书写更直观。可以很容易分辨这个 icon 是什么。</li>
          <li>因为使用 class 来定义图标，所以当要替换图标时，只需要修改 class 里面的 Unicode 引用。</li>
          <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的 fontclass 代码：</h3>
<pre><code class="language-html">&lt;link rel="stylesheet" href="./iconfont.css"&gt;
</code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
<pre><code class="language-html">&lt;span class="wxIconFont iconxxx"&gt;&lt;/span&gt;
</code></pre>
        <blockquote>
          <p>"
            wxIconFont" 是你项目下的 font-family。可以通过编辑项目查看，默认是 "iconfont"。</p>
        </blockquote>
      </div>
      </div>
      <div class="content symbol">
          <ul class="icon_lists dib-box">
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconqiaquan"></use>
                </svg>
                <div class="name">卡券</div>
                <div class="code-name">#iconqiaquan</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconbiaoqing"></use>
                </svg>
                <div class="name">表情</div>
                <div class="code-name">#iconbiaoqing</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconweibiaoti554"></use>
                </svg>
                <div class="name">邮件</div>
                <div class="code-name">#iconweibiaoti554</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconwenjian"></use>
                </svg>
                <div class="name">文件</div>
                <div class="code-name">#iconwenjian</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconmiandarao"></use>
                </svg>
                <div class="name">免打扰</div>
                <div class="code-name">#iconmiandarao</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconwin"></use>
                </svg>
                <div class="name">win</div>
                <div class="code-name">#iconwin</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconxiaoxi1"></use>
                </svg>
                <div class="name">消息</div>
                <div class="code-name">#iconxiaoxi1</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconzhiwen"></use>
                </svg>
                <div class="name">指纹</div>
                <div class="code-name">#iconzhiwen</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconcomputer_icon"></use>
                </svg>
                <div class="name">电脑</div>
                <div class="code-name">#iconcomputer_icon</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconguide-fill"></use>
                </svg>
                <div class="name">指南指导</div>
                <div class="code-name">#iconguide-fill</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconxiangji1"></use>
                </svg>
                <div class="name">相机</div>
                <div class="code-name">#iconxiangji1</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconxiaoxi"></use>
                </svg>
                <div class="name">消息</div>
                <div class="code-name">#iconxiaoxi</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconcaidan"></use>
                </svg>
                <div class="name">菜单</div>
                <div class="code-name">#iconcaidan</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconsearch"></use>
                </svg>
                <div class="name">搜索</div>
                <div class="code-name">#iconsearch</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconxiaoxidian"></use>
                </svg>
                <div class="name">消息 点</div>
                <div class="code-name">#iconxiaoxidian</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icontongxunlu"></use>
                </svg>
                <div class="name">通讯录</div>
                <div class="code-name">#icontongxunlu</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconyuyin"></use>
                </svg>
                <div class="name">语音</div>
                <div class="code-name">#iconyuyin</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconhongbao"></use>
                </svg>
                <div class="name">红包</div>
                <div class="code-name">#iconhongbao</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconwo"></use>
                </svg>
                <div class="name">我</div>
                <div class="code-name">#iconwo</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icontianjiapengyou"></use>
                </svg>
                <div class="name">添加朋友</div>
                <div class="code-name">#icontianjiapengyou</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconwo1"></use>
                </svg>
                <div class="name">我</div>
                <div class="code-name">#iconwo1</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconzhinan"></use>
                </svg>
                <div class="name">指南</div>
                <div class="code-name">#iconzhinan</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconxin"></use>
                </svg>
                <div class="name">心</div>
                <div class="code-name">#iconxin</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconyuyin1"></use>
                </svg>
                <div class="name">语音</div>
                <div class="code-name">#iconyuyin1</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconnext-copy"></use>
                </svg>
                <div class="name">右</div>
                <div class="code-name">#iconnext-copy</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconpengyouquan"></use>
                </svg>
                <div class="name">朋友圈</div>
                <div class="code-name">#iconpengyouquan</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconjia"></use>
                </svg>
                <div class="name">加</div>
                <div class="code-name">#iconjia</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconmingpian"></use>
                </svg>
                <div class="name">名片</div>
                <div class="code-name">#iconmingpian</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconxiangji"></use>
                </svg>
                <div class="name">相机</div>
                <div class="code-name">#iconxiangji</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconyuyinshuru"></use>
                </svg>
                <div class="name">语音输入</div>
                <div class="code-name">#iconyuyinshuru</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconico"></use>
                </svg>
                <div class="name">二维码</div>
                <div class="code-name">#iconico</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconshoufukuan"></use>
                </svg>
                <div class="name">收付款</div>
                <div class="code-name">#iconshoufukuan</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconlifangti"></use>
                </svg>
                <div class="name">立方体2</div>
                <div class="code-name">#iconlifangti</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconweizhi"></use>
                </svg>
                <div class="name">位置</div>
                <div class="code-name">#iconweizhi</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconicon-scan"></use>
                </svg>
                <div class="name">扫一扫</div>
                <div class="code-name">#iconicon-scan</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconyuyintonghua"></use>
                </svg>
                <div class="name">语音通话</div>
                <div class="code-name">#iconyuyintonghua</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#iconxiangce"></use>
                </svg>
                <div class="name">相册</div>
                <div class="code-name">#iconxiangce</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icontongxunlu1"></use>
                </svg>
                <div class="name">通讯录</div>
                <div class="code-name">#icontongxunlu1</div>
            </li>
          
          </ul>
          <div class="article markdown">
          <h2 id="symbol-">Symbol 引用</h2>
          <hr>

          <p>这是一种全新的使用方式，应该说这才是未来的主流，也是平台目前推荐的用法。相关介绍可以参考这篇<a href="">文章</a>
            这种用法其实是做了一个 SVG 的集合，与另外两种相比具有如下特点：</p>
          <ul>
            <li>支持多色图标了，不再受单色限制。</li>
            <li>通过一些技巧，支持像字体那样，通过 <code>font-size</code>, <code>color</code> 来调整样式。</li>
            <li>兼容性较差，支持 IE9+，及现代浏览器。</li>
            <li>浏览器渲染 SVG 的性能一般，还不如 png。</li>
          </ul>
          <p>使用步骤如下：</p>
          <h3 id="-symbol-">第一步：引入项目下面生成的 symbol 代码：</h3>
<pre><code class="language-html">&lt;script src="./iconfont.js"&gt;&lt;/script&gt;
</code></pre>
          <h3 id="-css-">第二步：加入通用 CSS 代码（引入一次就行）：</h3>
<pre><code class="language-html">&lt;style&gt;
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
&lt;/style&gt;
</code></pre>
          <h3 id="-">第三步：挑选相应图标并获取类名，应用于页面：</h3>
<pre><code class="language-html">&lt;svg class="icon" aria-hidden="true"&gt;
  &lt;use xlink:href="#icon-xxx"&gt;&lt;/use&gt;
&lt;/svg&gt;
</code></pre>
          </div>
      </div>

    </div>
  </div>
  <script>
  $(document).ready(function () {
      $('.tab-container .content:first').show()

      $('#tabs li').click(function (e) {
        var tabContent = $('.tab-container .content')
        var index = $(this).index()

        if ($(this).hasClass('active')) {
          return
        } else {
          $('#tabs li').removeClass('active')
          $(this).addClass('active')

          tabContent.hide().eq(index).fadeIn()
        }
      })
    })
  </script>
</body>
</html>
